package com.greenold.residing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.greenold.common.annotation.Excel;
import com.greenold.common.core.domain.BaseEntity;

/**
 * 床位对象 bed
 * 
 * @author ruoyi
 * @date 2025-10-15
 */
@Data
public class Bed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 床位ID */
    private String id;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private String bedCode;

    /** 床位状态: 未入住0, 已入住1, 请假中2 */
    @Excel(name = "床位状态: 未入住0, 已入住1, 请假中2")
    private String bedStatus;

    /** 床位号 */
    @Excel(name = "床位号")
    private String bedNo;

    /** 房间ID */
    @Excel(name = "房间ID")
    private String roomId;

    /** 护理等级id */
    @Excel(name = "护理等级id")
    private Long careLevelId;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String elderName;

    /** 老人id */
    @Excel(name = "老人id")
    private String elderId;

    /** 护理等级 */
    @Excel(name = "护理等级")
    private String careLevel;

    /** 入住期限 */
    @Excel(name = "入住期限")
    private String stayPeriod;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /**  */
    @Excel(name = "")
    private String createdBy;

    /**  */
    @Excel(name = "")
    private String updatedBy;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extend2;


}
